<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${loanApply.id}"  type="hidden">
							<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">用户ID：</label>
								<div class="col-sm-8">
									<input id="userId" name="userId" th:value="${loanApply.userId}" class="form-control" type="text">
								</div>
							</div> -->
							<!-- 							<div class="form-group">	
								<label class="col-sm-3 control-label">真实姓名：</label>
								<div class="col-sm-8">
									<input id="realName" name="realName" th:value="${loanApply.realName}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">创建时间：</label>
								<div class="col-sm-8">
									<input id="createTime" name="createTime" th:value="${loanApply.createTime}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">信息认证：</label>
								<div class="col-sm-8">
									<input id="userInfoAuth" name="userInfoAuth" th:value="${loanApply.userInfoAuth}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">联系人认证：</label>
								<div class="col-sm-8">
									<input id="contactAuth" name="contactAuth" th:value="${loanApply.contactAuth}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">银行卡认证：</label>
								<div class="col-sm-8">
									<input id="bankAuth" name="bankAuth" th:value="${loanApply.bankAuth}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">人脸认证：</label>
								<div class="col-sm-8">
									<input id="faceAuth" name="faceAuth" th:value="${loanApply.faceAuth}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">征信认证：</label>
								<div class="col-sm-8">
									<input id="creditAuth" name="creditAuth" th:value="${loanApply.creditAuth}" class="form-control" type="text">
								</div>
							</div> -->
							
							<div class="form-group" th:if="${loanApply.status} eq '0'">	
								<label class="col-sm-3 control-label">审批申请金额：</label>
								<div class="col-sm-8">
									<input id="applyAmount" name="applyAmount" th:value="${loanApply.applyAmount}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group" shiro:hasPermission="system:loanApply:loanAmt" th:if="${loanApply.status} eq '2'">	
								<label class="col-sm-3 control-label">审批放款金额：</label>
								<div class="col-sm-8">
									<input id="loanAmount" name="loanAmount" th:value="${loanApply.loanAmount}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group" shiro:hasPermission="system:loanApply:lixi" th:if="${loanApply.status} eq '2'">	
								<label class="col-sm-3 control-label">总利息：</label>
								<div class="col-sm-8">
									<input id="remark1" name="remark1" th:value="${loanApply.remark1}" class="form-control" type="text">
								</div>
							</div>
							
							<div class="form-group" shiro:hasPermission="system:loanApply:lixi" th:if="${loanApply.status} eq '2'">	
							<label class="col-sm-3 control-label">还款方式:</label>
							<div class="col-sm-8">
								<!-- <label class="radio-inline"> <input checked='checked'
									th:field="*{loanApply.remark9}" type="radio" name="remark9" value="等额本息" />
									等额本息
								</label>  -->
								<label class="radio-inline"> <input checked='checked' 
									th:field="*{loanApply.remark9}" type="radio" name="remark9" value="固定还款日" />
									固定还款日
								</label>
								<label class="radio-inline"> <input  
									th:field="*{loanApply.remark9}" type="radio" name="remark9" value="先息后本" />
									先息后本
								</label>
							</div>
						</div>
							
							
							<div class="form-group" shiro:hasPermission="system:loanApply:yihuan" th:if="${loanApply.status} eq '4'">	
								<label class="col-sm-3 control-label">已还：</label>
								<div class="col-sm-8">
									<input id="remark2" name="remark2" th:value="${loanApply.remark2}" class="form-control" type="text">
								</div>
							</div>
							<!-- 							<div class="form-group">	
								<label class="col-sm-3 control-label">贷款产品：</label>
								<div class="col-sm-8">
									<input id="loanProductName" name="loanProductName" th:value="${loanApply.loanProductName}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">贷款产品ID：</label>
								<div class="col-sm-8">
									<input id="loanProductId" name="loanProductId" th:value="${loanApply.loanProductId}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">贷款期间：</label>
								<div class="col-sm-8">
									<input id="loanPeriod" name="loanPeriod" th:value="${loanApply.loanPeriod}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">贷款利率：</label>
								<div class="col-sm-8">
									<input id="loanRate" name="loanRate" th:value="${loanApply.loanRate}" class="form-control" type="text">
								</div>
							</div> -->
							<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<input id="status" name="status" th:value="${loanApply.status}" class="form-control" type="text">
								</div>
							</div> -->
							<!-- 							<div class="form-group">	
								<label class="col-sm-3 control-label">借贷评级：</label>
								<div class="col-sm-8">
									<input id="loanScore" name="loanScore" th:value="${loanApply.loanScore}" class="form-control" type="text">
								</div>
							</div> -->
								<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark1" name="remark1" th:value="${loanApply.remark1}" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark2" name="remark2" th:value="${loanApply.remark2}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark3" name="remark3" th:value="${loanApply.remark3}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark4" name="remark4" th:value="${loanApply.remark4}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark5" name="remark5" th:value="${loanApply.remark5}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">备注：</label>
								<div class="col-sm-8">
									<input id="remark6" name="remark6" th:value="${loanApply.remark6}" class="form-control" type="text">
								</div>
							</div> -->
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '0'">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">审批申请金额</button>
								</div>
							</div>
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '2'">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">审批放款利息</button>
								</div>
							</div>
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '4'">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">审批已还金额</button>
								</div>
							</div>
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '3'">
								<div class="col-sm-8 col-sm-offset-3">
									当前状态-<span style="color:red">已放款</span>，无需审批【当申请中,待放款，放款中才需审批噢】
								</div>
							</div>
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '1'">
								<div class="col-sm-8 col-sm-offset-3">
									当前状态-<span style="color:red">待放款</span>，无需审批【当申请中,待放款，放款中才需审批噢】
								</div>
							</div>
							<div class="form-group" style="text-align: center" th:if="${loanApply.status} eq '5'">
								<div class="col-sm-8 col-sm-offset-3">
									当前状态-<span style="color:red">已还清</span>，无需审批【当申请中,待放款，放款中才需审批噢】
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/loanApply/edit.js">
	</script>
</body>
</html>
